<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>JavaScript 网页计算器</title>
</head>
<body>


<p>
    整数1：<input type="text" id="zhengshu1">
</p>
<p>
    整数2：<input type="text" id="zhengshu2">
</p>
<p>
    <button onclick="chage('jia')">相加</button>
    <button onclick="chage('jian')">相减</button>
    <button onclick="chage('cheng')">相乘</button>
    <button onclick="chage('chu')">相除</button>
</p>
<p>
    结果：<input type="text" id="jieguo">
</p>



</body>
<script src="js/script.js"></script>
</html>